
<!DOCTYPE html>
<html>

<head>
   
    
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!--360浏览器优先以webkit内核解析-->


<title>我的办公用品申请单</title>

<link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
<link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="__STATIC__/layout/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
<link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
<link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
<link href="__STATIC__/layout/css/channel.css?v=4.1.0" rel="stylesheet">
<!-- Sweet Alert -->
<link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">


    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <style>
   
    </style>

</head>

<body class="white-bg" style="padding: 3px;font-size: 13px">
    <div class="page-heade">
       <h2 class="title_color text-center">合同到期提醒设置</h2>
    </div>
    <form action="" class="form-inline" id="reset">
        <table class="table table-bordered bud_hei">
           <tr>
              <td>姓名：</td>
              <td><input type="text" class="form-control" name="" id=""></td>
              <td>部门：</td>
              <td><input type="text" class="form-control" name="" id=""></td>
              <td>月份:</td>
              <td>
              从
               <div class="form-group">
                     <input type="text" id="start" class="form-control layer-date " style="min-width:160px;width:160px;display: inline-block;" name="">
                   </div>
                   <div class="form-group">
                    至
                   </div>
                 <div class="form-group">
                   <input type="text" class="form-control layer-date" style="min-width:160px;width:160px;display: inline-block;" id="end" name="">
                 </div>
              </td>
           </tr>
           <tr>
              <td colspan="6" class="text-center"> <button class="btn-sm btn-info btn">查询</button><span class="lr_5"></span><button class="btn-sm btn-info btn" type="reset" id="reset">清空</button><span class="lr_5"></span><a href="javascript:;" class="btn btn-sm btn-info">导出Excel</a></td>
            </tr>
            <tr>
              <td colspan="6">
                <span class="glyphicon glyphicon-bell" aria-hidden="true" style="color:red;font-size: 20px;margin:0 10px 0 10px"></span>
                <span class="colorRed">以下生日提醒将提前30天、15天通过邮件或弹窗形式发送给：</span>
                <span class="colorRed">钟委, 唐海燕</span>
                <button class="btn btn-info btn-sm" type="button">更改提醒人</button>
              </td>
            </tr>
        </table>
    </form>
  <div id="showMoreDiv" class="text-center"><div class="text-center" width="100%;" style="font-size:18px; color:#999999; margin:15px 0">没有更多了...</div></div>
  
<!-- 全局js -->
<script src="__STATIC__/layout/js/jquery.min.js"></script>
<script src="__STATIC__/layout/js/contabs_sub.js"></script>
<script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
<!-- Sweet alert -->
<script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
 <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
  <script src="__STATIC__/layout/js/contabs_sub.js"></script>

<script>
    $(function () {
        $('body').on('click','input[type=text]',function () {
            this.select()
        })
    })
</script>
<script src="__STATIC__/layout/js/plugins/layer/layer.min.js"></script>
<script>
    
  $(document).ready(function () {
        $('#reset').on('click',function () {
            $("#form1 input").each(function(){
                $(this).val('');
            });
            $("#form1 select").each(function(){
                $(this).val('');
            });
            $('#form1').submit()
            return false
        })
    })   

//日期范围限制
        var start = {
            elem: '#start',
            format: 'YYYY-MM-DD',
            min: laydate.now(), //设定最小日期为当前日期
            max: '2099-06-16 23:59:59', //最大日期
            istime: true,
            istoday: false,
            choose: function (datas) {
                end.min = datas; //开始日选好后，重置结束日的最小日期
                end.start = datas //将结束日的初始值设定为开始日
            }
        };
        var end = {
            elem: '#end',
            format: 'YYYY-MM-DD',
            min: laydate.now(),
            max: '2099-06-16 23:59:59',
            istime: true,
            istoday: false,
            choose: function (datas) {
                start.max = datas; //结束日选好后，重置开始日的最大日期
            }
        };
        laydate(start);
        laydate(end);
</script>
</body>

</html>